# Disponivel no pacote de programas como: mle.py
import like
from numpy import *
def mle(a):
    sup = arange(-3,3,0.05)
    lik = exp(array([like.Normal([a],i,1/3.) for i in sup]))
    m = compress(lik == max(lik),sup)    
    return m

print mle(0)
